package com.cts.learninglibrary.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

/**
 * @author: kwanghuee
 * @date: 2020/8/18 10:53
 */
@Getter
@Setter
@ApiModel(value = "保存分享数据传输对象")
public class ShareDTO {

    @ApiModelProperty(value = "用户id", required = true)
    private Integer userId;

    @ApiModelProperty(value = "分享类型，1：文章，2：文档", required = true)
    private Integer type;

    @ApiModelProperty(value = "分享属性【0:原创、1:转载】", required = true)
    private Integer property;

    @ApiModelProperty(value = "标题", required = true)
    private String title;

    @ApiModelProperty(value = "简介", required = true)
    private String synopsis;

    @ApiModelProperty(value = "内容", required = true)
    private String content;

    @ApiModelProperty(value = "标签id", required = false)
    private Integer labelId;

    @ApiModelProperty(value = "分类id", required = true)
    private Integer classifyId;
}
